iShell Help
Tribeworks > iShell > Help >
  Runtime Arguments
   
Runtime arguments provide a way to get system and runtime specific information and then act upon the information. Runtime arguments include such things as URL references, date and time calls, etc.

  • Cache URL: Returns the file path to the Cache URL folder.
  • Click Count: Click count is only triggered in a mouse event and counts the number of clicks. This is useful to determine a double click.
  • Command Key: True is returned if the command key is pressed down when another key is hit. False is returned when it is not pressed down. The call needs be in a Keyboard event, and can be used to trigger an action instead of passing the call to a field element.
  • Control Key: True is returned if the control key is pressed down when another key is hit. False is returned when it is not pressed down. The call needs be in a Keyboard event, and can be used to trigger an action instead of passing the call to a field element.
  • Connection Speed: Returns the connection speed specified in the QuickTime control panel. The value returned is in bits per second.
  • Day: Returns the day of the month.
  • Day of Week: Returns the day of the week as a number. Sunday is 1 and Saturday is seven.
  • Disk Cache Count: Returns the number of items still needing to be cached from a Disk Cache command.
  • Document URL: Returns the full path to the current document.
  • Focus: Returns the name of the Element which is in focus.
  • Height: Returns the height of the project set in the Project palette.
  • Hour: Returns the hour of the day. During the midnight hour, 0 is returned. The time is based on a 24 hour clock.
  • Macintosh: Returns true if the project is being ran on a Macintosh.
  • Main URL: Returns the path of the Main URL.
  • Memory Cache Count: Returns the number of items to still be loaded into memory.
  • Minute: Returns the number of minutes of the current hour.
  • Month: Returns the number of the current month.
  • Name: Returns the name of the project set in the project settings palette.
  • Option Key: True is returned if the option key is pressed down when another key is hit. False is returned when it is not pressed down. The call needs be in a Keyboard event, and can be used to trigger an action instead of passing the call to a field element.
  • Project URL: Returns the full path to the project file of the currently running application.
  • Second: Returns the number of seconds in the current minute.
  • Shift Key: True is returned if the option key is pressed down when another key is hit. False is returned when it is not pressed down. The call needs be in a Keyboard event, and can be used to trigger an action instead of passing the call to a field element.
  • Site URL: Returns the full path to the site URL folder.
  • Volume: Returns the current system volume. The volume is between 0 and 100.
  • Width: Returns the width of the current project settings.
  • Windows: Returns true if the application is being ran on a Windows PC box.
  • Year: Returns the current year.